function allReadyEdit() {
    if (otype == 'add' || otype == 'copy') {
        NG.bindMasterExp('title', "{empid}+'外出济南报备单'");
        var hrid = NG.callServer('获取员工id', {phid: $appinfo.userID}, 'hrid');
        NG.setValue('empid', hrid);
        var dept = NG.callServer('获取员工部门', {phid: hrid}, 'dept');
        NG.setValue('deptid', dept);
    }

    NG.setFieldLabelWidth(['hbh', 'hbh2'], 120);
    NG.getItem('t_2').el.query('#t_2-inputEl')[0].style.marginLeft = '25px';
    NG.getItem('t_3').el.query('#t_3-inputEl')[0].style.marginLeft = '25px';
    NG.getItem('t_4').el.query('#t_4-inputEl')[0].style.marginLeft = '25px';
}
